projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
223a9ea
)
gpg: Fix ot_gpgme_error_to_gio_error()
author
Matthew Barnes
<mbarnes@redhat.com>
Thu, 7 May 2015 20:02:39 +0000
(16:02 -0400)
committer
Matthew Barnes
<mbarnes@redhat.com>
Thu, 7 May 2015 20:02:39 +0000
(16:02 -0400)
Need to extract the error code from a gpgme_error_t, can't just compare
it directly.
src/libotutil/ot-gpg-utils.c
patch
|
blob
|
history
diff --git
a/src/libotutil/ot-gpg-utils.c
b/src/libotutil/ot-gpg-utils.c
index 88b436f24b80ef1c04cab79e16b30627a3c7d2a6..d603b09b227a832be0a61d43f724c94413d509aa 100644
(file)
--- a/
src/libotutil/ot-gpg-utils.c
+++ b/
src/libotutil/ot-gpg-utils.c
@@
-34,7
+34,7
@@
ot_gpgme_error_to_gio_error (gpgme_error_t gpg_error,
/* XXX This list is incomplete. Add cases as needed. */
- switch (gpg
_error
)
+ switch (gpg
me_err_code (gpg_error)
)
{
/* special case - shouldn't be here */
case GPG_ERR_NO_ERROR: